Crate celestia_grpc

Crate celestia_grpc 

Source
Expand description

§Celestia gRPC

A collection of types for interacting with Celestia validator nodes over gRPC

This crate builds on top of tonic.

§TLS support

Client will be configured to use TLS if at least one of the trust roots provider is enabled using the crate features tls-native-roots and tls-webpki-roots. The trust roots are additive, selecting both will result in both being in use.

Moreover, the crypto provider for rustls can be configured by using tls-ring and tls-aws-lc features.

Those features are re-exposed from the tonic crate, please refer to its documentation for more info.

Re-exports§

pub use crate::signer::DocSigner;

Modules§

grpc
Types and client for the celestia grpc
signer
Types related to signing transactions

Structs§

GrpcClient
gRPC client for the Celestia network
GrpcClientBuilder
Builder for GrpcClient
SignDoc
SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT.
TxConfig
Configuration for the transaction.
TxInfo
A result of correctly submitted transaction.

Enums§

Error
Representation of all the errors that can occur when interacting with GrpcClient.
GrpcClientBuilderError
Representation of all the errors that can occur when building GrpcClient using GrpcClientBuilder

Traits§

IntoProtobufAny
Value convertion into protobuf’s Any

Type Aliases§

Result
Alias for a Result with the error type celestia_grpc::Error.